package com.example.demoexample.utils;

public class SingleCase {
    //饿汉模式  线程安全
    private static SingleCase singleCase = new SingleCase();

    private SingleCase(){

    }

    public static SingleCase getInstance(){
        return singleCase;
    }

}
